<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // do {

      // } while (condition);
      var n = 0
      do {
        console.log('li', 0)
        n++
      } while (n < 10)

      var a = 1
      var sum = 0
      do {
        sum += a
        a++
      } while (a <= 100)
      console.log(sum)
    </script>
  </body>
</html>
